<include file="../header" />
<body class="J_scroll_fixed">
    
    <script>
 
    </script>
  
 <div class="wrap J_check_wrap">
    
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>编号</th>
            <th>店铺名称</th>
            <th>教练</th>
            <th>会员</th>
            <th>上课课数</th>
            <th>平均价格</th>
            <th>小计</th>
        </tr>
        </thead>
        <tbody>
        <?php $id=1;?>
        <foreach name="list" item="vo">
            <tr>
                <td>{$id++}</td>
                <td>{$vo.shop_name}</td>
                <td>{$vo.coach_name}</td>
                <td>{$vo.vip_name}</td>
                <td>{$vo.number} 节</td>
                <td>
                    <if condition="$vo['avg_class_price'] eq NULL "> 0 元               
                        <else/>{$vo.avg_class_price} 元
                    </if> 
                    </td>
                <td>
                    <if condition="$vo['total_amount'] eq NULL "> 0 元               
                        <else/>{$vo.total_amount} 元
                    </if> 
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
        已上课程数:{$stat['courseCount']}节  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        上课金额总计:{$stat['courseAmount']}元

</div>	    

    <script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>